Namespace - LJCTextDataReaderLib
Returns
True if read successfully, otherwise false.
Syntax
C# |
public Boolean LJCReadLine()
|
Reads the next line from the line string array.
(DE)
Remarks
This is used to read a line from the string array that was loaded
with the LJCSetLines() method.
Example
C# |
using LJCTextDataReaderLib;
TextDataReader textReader = new TextDataReader();
string[] lines = new string[]
{
"FirstName, LastName",
"John, Doe",
"Jane, Doe"
};
textReader.LJCSetLines(lines);
while(textReader.ReadLine())
{
for int index = 0; index < textReader.FieldCount; index++)
{
string data = textReader.GetString(index);
}
}
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.